package com.yami.shop.bean.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description= "评论列表")
public class ArticleCommentVo implements Serializable {


    @Schema(description = "评论主键")
    private Long id;

    @Schema(description = "评论父级id")
    private Long parentId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "上级评论的回复")
    private List<ArticleCommentVo> children;

    @Schema(description = "用户头像")
    private String userAvatar;

    @Schema(description = "用户昵称")
    private String userNikeName;

}

